#include "frame_main.h"
#include "ui_frame_main.h"


Frame_main::Frame_main(QWidget *parent) :
    QFrame(parent),
    ui(new Ui::Frame_main)
{
    ui->setupUi(this);
    cam = new Frame_Camera();
}

Frame_main::~Frame_main()
{
    delete ui;
}

void Frame_main::on_pushButton_clicked()
{
    cam->showUi();
}
